package cj.com.chabaike.entity;

/**
 * Created by CJLAB on 2015/8/13.
 * 新闻类的json实体
 */
public class NewsData {
    String code;
    String message;
    Pageinfo pageinfo;
    NewsHomePager home_page;
    public void setCode(String code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setPageinfo(Pageinfo pageinfo) {
        this.pageinfo = pageinfo;
    }

    public NewsHomePager getHome_page() {
        return home_page;
    }

    public void setHome_page(NewsHomePager home_page) {
        this.home_page = home_page;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public Pageinfo getPageinfo() {
        return pageinfo;
    }



    @Override
    public String toString() {
        return "NewsData{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", pageinfo=" + pageinfo +
                ", home_page=" + home_page +
                '}';
    }
}
